<!DOCTYPE html>
<html>
<head>
	<title></title>
</head>
<body>
		<p>{$role_info.role_name}</p>
        <div style="font-size: 13px;margin: 10px 5px">
            <form action="__SELF__" method="post" enctype="multipart/form-data">
            <input type="hidden" name="role_id" value="{$role_info.role_id}" />
            <table border="1" width="100%" class="table_a">
                <foreach name="auth_infoA" item="voa">
                <tr>
                    <td width="18%">
                        <input type="checkbox" name="authid[]" value="{$voa.auth_id}" 
                        <in name="voa.auth_id" value="$have_auth">checked="checked"</in>/>
                               {$voa.auth_name}</td>
                    <td>
                        <foreach name='auth_infoB' item='vob'>
                        <if condition="$voa['auth_id'] eq $vob['auth_pid']">
                        <div style="width:200px; float:left;">
                            <input type="checkbox" name="authid[]" value="{$vob.auth_id}"
							<in name="vob.auth_id" value="$have_auth">checked="checked"</in>/>	 
                        </div>        
                        </if>
                       	</foreach>
                    </td>
                </tr>
                </foreach>
                
                <tr>
                    <td colspan="2" align="center">
                        <input type="submit" value="分配权限" />
                    </td>
                </tr>  
            </table>
            </form>
        </div>
</body>
</html>